package com.zzld.modules.autoinn.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.jeecgframework.poi.excel.annotation.Excel;

import com.fasterxml.jackson.annotation.JsonFormat;

@Table(name="zzld_autoinn_expense")
public class Expense {

	@Id
	private String id;
	
	@Transient
	@Excel(name="会员昵称")
	private String nickname;
	
	@Transient
	@Excel(name="会员等级",replace = { "普通会员_0", "青铜会员_1","白银会员_2","黄金会员_3","白金会员_4","钻石会员_5"},mergeVertical = true )
	private int level;
	@Excel(name="消费金额")
	private double price;
	@Excel(name="微信号",width=25)
	@Column(name="wx_account")
	private String wx_account;
	private float zhekou;
	private double yfprice;
	@Excel(name="描述",width=50)
	private String des;
	
	@Excel(name="消费时间",width=30)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
	private Date innertime;
	
	@Column(name="customer_id")
	private String customer_id;
	
	@Column(name="ispr")
	private int ispr;
	public int getIspr(){
		return ispr;
	}
	public void setIspr(int ispr){
		this.ispr=ispr;
	}
	
	@Transient
	@Column(name="phone_num")
	private String phone_num;
	public void setPhoneNum(String phoneNum){
		this.phone_num=phoneNum;
	}
	public String getPhoneNum(){
		return phone_num;
	}
	

	
	private String productid;
	public String getProductid(){
		return productid;
	}
	public void setProductid(String productid){
		this.productid=productid;
	}
	@Transient
	private int isping;
	public void setIsping(int isping){
		this.isping = isping;
	}
	public int getIsping(){
		return isping;
	}
	
	@Transient
	private String name;
	@Transient
	private String pathname;
	@Transient
	private String proname;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPathname() {
		return pathname;
	}
	public void setPathname(String pathname) {
		this.pathname = pathname;
	}
	public String getProname() {
		return proname;
	}
	public void setProname(String proname) {
		this.proname = proname;
	}
	public int getLevel(){
		return level;
	}
	public void setLevel(int level){
		this.level=level;
	}
	

	public String getNickname(){
		return nickname;
	}
	public void setNickname(String nickname){
		this.nickname=nickname;
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public float getZhekou() {
		return zhekou;
	}

	public void setZhekou(float zhekou) {
		this.zhekou = zhekou;
	}

	public double getYfprice() {
		return yfprice;
	}

	public void setYfprice(double yfprice) {
		this.yfprice = yfprice;
	}

	public String getDes() {
		return des;
	}

	public void setDes(String des) {
		this.des = des;
	}

	public Date getInnertime() {
		return innertime;
	}

	public void setInnertime(Date innertime) {
		this.innertime = innertime;
	}

	public String getCustomer_id() {
		return customer_id;
	}

	public void setCustomer_id(String customer_id) {
		this.customer_id = customer_id;
	}

	public String getWx_account() {
		return wx_account;
	}

	public void setWx_account(String wx_account) {
		this.wx_account = wx_account;
	}
	
	
}
